finding tangent plane